/*
 * @Author: your name
 * @Date: 2021-01-28 10:43:17
 * @LastEditTime: 2021-01-28 14:01:43
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tlwok-front-purchase-platfrom\src\api\settingsMenu\accountAccess.js
 */
import Http from '@/lib/http';

export function pageList (data) {
  return Http.get('/admin/pageList', {
    ...data,
  });
}

export function create (data) {
  return Http.post(`/admin/create`, {
    ...data,
  });
}

export function update (data) {
  return Http.post(`/admin/update`, {
    ...data,
  });
}

export function del (data) {
  return Http.post(`/admin/delete`, {
    ...data,
  });
}
